package com.zhuss.black.db.dao.ext;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.zhuss.bean.bo.SearchKeyWordBo;
import com.zhuss.bean.bo.black.black.SearchBlackBo;
import com.zhuss.bean.bo.black.black.wechat.ListBlackBo;
import com.zhuss.bean.vo.DetailKeyWordVo;
import com.zhuss.bean.vo.black.black.DetailBlackVo;
import com.zhuss.bean.vo.black.black.ListBlackVo;
import com.zhuss.black.db.dao.gen.BlackMapper;
import com.zhuss.black.db.entity.Black;

@Mapper
public interface BlackDao extends BlackMapper {
	
	void create(Black record);
	
	void delete(Black record);
	
	List<Black> listAll(@Param("area") Integer area);

	List<ListBlackVo> list(SearchBlackBo bo);

	Integer countList(SearchBlackBo bo);

	DetailBlackVo detail(@Param("blackId") Long blackId);

	List<DetailBlackVo> listBlack(ListBlackBo bo);
	
	Integer countBlackList(ListBlackBo bo);
	
	List<DetailKeyWordVo> keyWord(SearchKeyWordBo bo);
	
	Integer countKeyWord(SearchKeyWordBo bo);
    
}